package com.collabscm.waf.vo;

/**
 * 异常的应答内容
 *
 * @author Zeng Raoxing
 */
public class ExceptionResponse extends AjaxResponse {
	private static final long serialVersionUID = 1L;
	/**
	 * 错误代码
	 */
	private String errorCode;
	/**
	 * 异常提示的参数
	 */
	private Object[] messageArgs;
	/**
	 * 需关注的异常堆栈
	 */
	private String stackTrace;

	public ExceptionResponse() {
		super(EXCEPTION);
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public Object[] getMessageArgs() {
		return messageArgs;
	}

	public void setMessageArgs(Object[] messageArgs) {
		this.messageArgs = messageArgs;
	}

	public String getStackTrace() {
		return stackTrace;
	}

	public void setStackTrace(String stackTrace) {
		this.stackTrace = stackTrace;
	}

}
